# -*- coding:utf-8 -*-

MONGO_PWD = 'a8674925'
MONGO_HOST = 'localhost'
MONGO_USER = 'zhihu'
MONGO_DATABASE = 'zhihu_data'
IS_MONGO_AUTH = False
from pymongo import MongoClient
from bson import ObjectId
client = MongoClient(MONGO_HOST)
db = client[MONGO_DATABASE]
if IS_MONGO_AUTH:
    db.authenticate(MONGO_USER, MONGO_PWD)
